/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;
import java.util.Date;
import javax.faces.bean.ManagedBean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
 *
 * @author wagner
 */
@Entity
@Table(name="professor", schema="megaperformance")
public class Professor extends Pessoa {
    //<editor-fold defaultstate="collapsed" desc="Atributos">
    @Column(name="data_contratacao", nullable=true)
    @Temporal(TemporalType.TIMESTAMP)
    private Date dataContratacao;
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc="Propriedades">
    public Date getDataContratacao() {
        return dataContratacao;
    }
    
    public void setDataContratacao(Date dataContratacao) {
        this.dataContratacao = dataContratacao;
    }
    //</editor-fold>
    
}
